Page({
  // 页面的初始数据
  data: {
    indeximages: [
      [{ path: "https://bd-s.tripcdn.cn/modules/basebiz/h5home/hotel.fc17d0f7726132bf2459621923704f0f.png", text: "酒店", mycolor: 'rgb(250,91,85)' },
      { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/hotel_inn.cbccfdc8449dea7bf83171dfa7ea6f81.png", text: "名宿/客栈", mycolor: 'rgb(255,245,241)' },
      { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/food_v2.759e14ab287956e9925f669ec1ef2169.png", text: "美食", mycolor: 'rgb(255,245,241)' }],
      [{ path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/flight.2af1e1835a10709db9ad91702e30de35.png", text: "机票", mycolor: 'rgb(60,132,250)' },
      { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/flight_package.7485a98b650ea13917e3cdd36f3eda67.png", text: "机+酒", mycolor: 'rgb(239,249,255)' },
      { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/airport_transfer.fb8d923aefb7393a3485ebcde0888932.png", text: "接送机/包车", mycolor: 'rgb(239,249,255)' }],
      [{ path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/train_ticket.62fc76e6f4ffac3d2e4610c807f535bb.png", text: "火车票", mycolor: 'rgb(94,118,255)' },
      { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/bus_ticket.19d2e8eb864288544912b3c1005c9a8e.png", text: "汽车/船票", mycolor: 'rgb(242,245,255)' },
      { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/car.d343444e248183e0c2ce61894012a327.png", text: "租车", mycolor: 'rgb(242,245,255)' }],
      [{ path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/vacation.50ea6db60ea69086791ea507b62364bb.png", text: "旅游", mycolor: 'rgb(49,196,182)' },
      { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/ticket.e872065047ec929016de33d36e578e49.png", text: "门票/活动", mycolor: 'rgb(236,252,248)' },
      { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/weekend.b327d041f73dd403971831a874eb25e9.png", text: "周边游", mycolor: 'rgb(236,252,248)' }],
      [{ path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/gs.24c525633ba91ad0a2c41ff96773262b.png", text: "攻略/景点", mycolor: 'rgb(255,138,57)' },
      { path: "https://ws-s.tripcdn.cn/modules/basebiz/h5home/shop.dba5be1f7b683690ea1d53bdd9ecef8f.png", text: "购物/免税", mycolor: 'rgb(255,249,242)' },
      { path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/finance.5cd5a7a955c6e5c633e6ae4e2b6cd551.png", text: "借钱/分期", mycolor: 'rgb(255,249,242)' }]
    ],
    images: [{
      path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/hpgs_guide.c4c7aa66032ef995136fb5d92a1cc9da.png",
      text: "向导/包车"
    }, {
      path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/insurance.ec149a1dec5e6803f2b88290c99fa56c.png",
      text: "保险"
    }, {
      path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/vtm.4b7ff6bddd0b21f3e92d1fa1ec41a0dc.png",
      text: "徽领队"
    }, {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/oneday.4fac0806c732ddc0e37d56969f92d2f3.png",
      text: "一日游"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/custom.56a6b6db26e37f09ebc593c1ac6d13c1.png",
      text: "定制游"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/cruise.e66cd5e4d0759b090142a5f84c9d7896.png",
      text: "轮游"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/exchange.17e163edbb0d53ee73743092dac0bba9.png",
      text: "外币兑换"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/visa.5f08517e1f62034f2abd06ca47d70559.png",
      text: "签证"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/wifi.ac1863182c3866811836d375eb4d20e5.png",
      text: "WiFi电话卡"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/lvpai.09b76db1c3e096b532ba90325c9dd0b9.png",
      text: "旅游·跟拍"
    },
    {
      path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/flight_schedule.cef3ed6d45a8723efb4a95ec7d5312aa.png",
      text: "航班助手"
    },
    {
      path: " https://ws-s.tripcdn.cn/modules/basebiz/h5home/cost.1373427f7b26bd92ef1d413dbacdc096.png",
      text: "拿去花"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/gift_card.8c7a17e90acc08bfa2bc5be10f9d4b5b.png",
      text: "礼品卡"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/credit_card.eea3d6c0fb749362a6418cdbd24888f7.png",
      text: "信用卡"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/member.c5624f964f3892da2c01d996e5233007.png",
      text: "会员/签到"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/supermember.fb6d01eb5298141f0bc572cd94154df1.png",
      text: "超值旅行家"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/rewards.c1302d78d8094c78a9768aa6b578dddb.png",
      text: "会员商城"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/xiaoshiji.1c6588a11feef97907e952edcc4e5480.png",
      text: "携程小诗机"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/sos.20c13da52f8ff660f5b6807a799b03b3.png",
      text: "紧急救援"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/cooperation.1f11ba99b09bfc288449ac23e253671a.png",
      text: "加盟合作"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/mice.87b43913b744f893b4f9493986046f8f.png",
      text: "会展旅游"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/corpctrip.02c3555f8f7609e02373ac87ce71e016.png",
      text: "企业差旅"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/trip.4fc7db341a13af5153b3a5ebaa965b72.png",
      text: "Trip.com"
    },
    {
      path: "	https://ws-s.tripcdn.cn/modules/basebiz/h5home/aria.9829d112261a461b876f0de6c348cb57.png",
      text: "关怀版"
    }
    ],
    hotel: [{
      path:"https://images4.c-ctrip.com/target/0205h120008m1dfqmD3EB_D_280_280_R5.jpg",
      text:"上海外滩璞硯酒店·2晚",
      price: 1399
    },
    {
      path:"https://images4.c-ctrip.com/target/200v1a0000019575l5B6B_D_280_280_R5.jpg",
      text:"杭州西湖东坡酒店·2晚",
      price: 668
    },{
      path:"https://images4.c-ctrip.com/target/0AD6s120008wr37y87F82_D_280_280_R5.jpg",
      text:"扬州迎宾馆·3晚",
      price: 2799
    }],
    selectheight: 180
  },
  changeindex(item: any) {
    let selectheight = 180;
    if (item.detail.current === 1) selectheight = 280;
    this.setData({
      selectheight
    });
  }
});